feat: intake census + dashboard modes — Mind backlog page#31
Merged
Conversation
census walks every WORK_TYPES folder (incl. triage/), parses the light metadata header back out of each filed prompt, and reports records, aggregates and hygiene flags (headerless legacy prompts). dashboard renders that census as PyAutoMind/dashboard.md — the Mind backlog page, written only under --apply. Folder position stays authoritative for work-type/target; a header Target: is prose and never overrides the taxonomy. Backlog only by design — health remains the Heart's. Also fixes the intake --help sed range, which leaked shell lines past the header comment. Closes #30. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016ttFH96vcXuCVZfSBZEytf
There was a problem hiding this comment.
Pull request overview
Adds two new Intake Agent modes that provide a read-only inventory (“census”) of all filed PyAutoMind prompts and a rendered markdown backlog page (“dashboard”), aligning the Intake contract/docs with the planned follow-ups and keeping “health” explicitly out of scope (Heart-owned).
Changes:
- Implement
intake censusto walk PyAutoMind taxonomy folders, parse the light header, and emit aggregates/records (optionally--json). - Implement
intake dashboardto render the census as a GitHub-friendly markdown page and (under--apply) writePyAutoMind/dashboard.md. - Update Intake docs + command surface docs to describe the new modes and reinforce the backlog vs health boundary.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/intake/intake.md | Document new census/dashboard backlog modes and reinforce boundaries. |
| skills/COMMANDS.md | Update /intake entry to mention backlog inventory/dashboard outputs. |
| agents/conductors/intake/intake.sh | Route new subcommands and adjust help text/known-subcommand handling. |
| agents/conductors/intake/INTAKE_TAXONOMY.md | Document census/dashboard semantics (taxonomy-authoritative, hygiene flags). |
| agents/conductors/intake/AGENTS.md | Update agent contract and run examples to include census/dashboard. |
| agents/conductors/intake/_intake.py | Add header parsing, census aggregation, dashboard rendering, and CLI wiring. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+372
to
+374
| records.append({ | ||
| "path": str(rel), | ||
| "work_type": wt, |
Comment on lines
+386
to
+387
| if len(missing) == len(HEADER_FIELDS): | ||
| hygiene.append(f"{rel} — no metadata header (pre-dates intake)") |
This was referenced Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the two follow-up modes the Intake Agent's contract already named as planned:
intake census(read-only inventory of every filed PyAutoMind prompt) andintake dashboard(renders the census asPyAutoMind/dashboard.md, the Mind backlog page). Census parses the light metadata header back out of each prompt; the taxonomy folder stays authoritative for work-type/target, and headerless legacy prompts surface as hygiene flags, never errors. Backlog only by design — health remains the Heart's (/health).repairstays the planned follow-up.Closes #30.
API Changes
CLI surface only — no Python API consumed downstream.
bin/pyauto-brain intake census— backlog inventory (always read-only;--jsonfor full records).bin/pyauto-brain intake dashboard— backlog page to stdout;--applywritesPyAutoMind/dashboard.md.See full details below.
Test Plan
README.mdskip,issued/count, empty folder): census records/aggregates/hygiene correct; dashboard renders;--applywritesdashboard.md.intake "<text>",intake ideas,--json,--helpall unchanged in behaviour (help no longer leaksset -uo pipefail).bash -n intake.sh+py_compile _intake.pyclean.Full API Changes (for automation & release notes)
Removed
Added
_intake.py::parse_header(text)— parses the lightType:/Target:/Difficulty:/Autonomy:/Priority:/Status:header (top-of-file only, first occurrence wins, no YAML)._intake.py::census(mind)— walksWORK_TYPESfolders incl.triage/; per-prompt records + aggregates by work-type/target/difficulty/priority + hygiene flags; countsissued/without itemising._intake.py::render_dashboard(census)/emit_census(census)— GitHub-rendered backlog page / terminal summary.intake.sh—censusanddashboardsubcommands routed; help text updated.Migration
classify/ideasbehaviour unchanged.🤖 Generated with Claude Code
https://claude.ai/code/session_016ttFH96vcXuCVZfSBZEytf